<?php
namespace other\orders;


/**
charged.debited-ended.list_used
 */
class DicEventType
{
    const EVENT_TYPE = [
        // todo PayPal
        100 =>
            array (
                0 => 'CHECKOUT.ORDER.APPROVED',
                1 => '买家批准了结账订单',
            ),
        101 =>
            array (
                0 => 'PAYMENT.CAPTURE.COMPLETED',
                1 => '付款捕获完成',
            ),
        102 =>
            array (
                0 => 'PAYMENT.CAPTURE.DECLINED',
                1 => '付款捕获被拒绝',
            ),
        103 =>
            array (
                0 => 'CUSTOMER.DISPUTE.CREATED',
                1 => '产生了争议',
            ),
        104 =>
            array (
                0 => 'CUSTOMER.DISPUTE.UPDATED',
                1 => '更新了争议',
            ),
        105 =>
            array (
                0 => 'CUSTOMER.DISPUTE.RESOLVED',
                1 => '争议解决了',
            ),
        106 =>
            array (
                0 => 'PAYMENT.CAPTURE.REFUNDED',
                1 => '商家退还付款捕获',
            ),
        107 =>
            array (
                0 => 'PAYMENT.CAPTURE.REVERSED',
                1 => 'PayPal撤销付款捕获',
            ),



        // todo  P卡
        300 =>
            array (
                0 => 'listed.listed',
                1 => 'LIST请求已通过，可以触发交易',
            ),
        301 =>
            array (
                0 => 'rejected.list_rejected',
                1 => '由于缺少参数，LIST请求被拒绝',
            ),
        302 =>
            array (
                0 => 'declined.debit_declined',
                1 => '交易因被评估为有风险、被列入黑名单、客户提供的数据不正确或资金不足而被拒绝',
            ),
        303 =>
            array (
                0 => 'pending.processing_paused',
                1 => '挂起的处理暂停',
            ),
        304 =>
            array (
                0 => 'pending.debit_requested',
                1 => '待处理的借记请求',
            ),
        305 =>
            array (
                0 => 'aborted.list_aborted',
                1 => '中止（交易中止）',
            ),
        306 =>
            array (
                0 => 'charged.debited',
                1 => '交易已成功扣款。如果您关闭延期费用，也会生成该状态',
            ),
        307 =>
            array (
                0 => 'ended.list_used',
                1 => '此LIST请求已用于付款',
            ),
        308 =>
            array (
                0 => 'expired.list_expired',
                1 => 'LIST请求已过期，不能再用于触发交易',
            ),
        309 =>
            array (
                0 => 'failed.debit_failed',
                1 => '由于技术错误，交易无法处理。该错误可能发生在商家或结帐端，并且可能是由于停机、请求格式不正确或缺少必需数据而引起的',
            ),
        310 =>
            array (
                0 => 'charged.in_pre_dispute',
                1 => '争议前收费',
            ),
        311 =>
            array (
                0 => 'paid_out.paid_out',
                1 => '已付款',
            ),
        312 =>
            array (
                0 => 'paid_out.refund_credited',
                1 => '此状态可能会出现在Charge/paid_out通知之前，以指示全额或部分退款已完成',
            ),
        313 =>
            array (
                0 => 'aborted.request_expired',
                1 => '已中止（请求过期）',
            ),
        314 =>
            array (
                0 => 'charged.fraud_suspected',
                1 => '当退款的可能性很高时，交易可能会进入此状态。状态更新甚至可能在交易收费几天后发生',
            ),
        315 =>
            array (
                0 => 'paid_out.auto_resolved',
                1 => '由于争议早期警报的决定，交易已自动退款',
            ),
        316 =>
            array (
                0 => 'charged.paid_out_partial',
                1 => '交易已部分退款',
            ),
        317 =>
            array (
                0 => 'charged.resolution_in_progress',
                1 => '收费解决方案进行中',
            ),
        318 =>
            array (
                0 => 'charged_back.charged_back',
                1 => '该交易已在第一轮退款中被退款。但是，如果赢得代表，交易将恢复为收费/借记状态',
            ),


        //  payment_attempt.authentication_redirected-payment_intent.requires_customer_action
        // payment_attempt.authorized-payment_attempt.capture_requested-payment_attempt.received-payment_intent.succeeded
        // todo  云汇
        400 =>
            array (
                0 => 'payment_attempt.settled',
                1 => 'Airwallex 已从收单方收到本次付款尝试的资金',
            ),
        401 =>
            array (
                0 => 'payment_attempt.paid',
                1 => '本次支付尝试的资金已成功支付至商户钱包。',
            ),
        402 =>
            array (
                0 => 'payment_intent.created',
                1 => '付款意向已创建',
            ),
        403 =>
            array (
                0 => 'payment_intent.requires_payment_method',
                1 => '此付款意向需要付款方式才能继续',
            ),
        404 =>
            array (
                0 => 'payment_attempt.received',
                1 => '已收到此付款尝试',
            ),
        405 =>
            array (
                0 => 'payment_attempt.authentication_redirected',
                1 => '付款尝试已重定向以进行身份验证',
            ),
        406 =>
            array (
                0 => 'payment_intent.requires_customer_action',
                1 => '需要额外的客户操作才能实现此付款意图',
            ),
        407 =>
            array (
                0 => 'payment_attempt.authentication_failed',
                1 => '付款尝试未能通过身份验证',
            ),
        408 =>
            array (
                0 => 'payment_attempt.authorized',
                1 => '付款尝试已获得授权并正在等待被捕获',
            ),
        409 =>
            array (
                0 => 'payment_intent.succeeded',
                1 => '付款意向已达成',
            ),
        410 =>
            array (
                0 => 'payment_attempt.capture_requested',
                1 => '付款尝试已成功捕获，因此已完成',
            ),
        411 =>
            array (
                0 => 'payment_attempt.authorization_failed',
                1 => '付款尝试授权失败',
            ),
        412 =>
            array (
                0 => 'payment_attempt.expired',
                1 => '此付款尝试已过期',
            ),
        413 =>
            array (
                0 => 'payment_attempt.risk_declined',
                1 => '付款尝试未能通过风险筛查',
            ),
        414 =>
            array (
                0 => 'payment_attempt.cancelled',
                1 => '付款尝试已被取消',
            ),
        415 =>
            array (
                0 => 'fraud.merchant_notified',
                1 => '这笔付款已被认定为欺诈。商家发起退款并暂停商品/服务的交付',
            ),
        416 =>
            array (
                0 => 'payment_dispute.requires_response',
                1 => '您收到了一个争议事件，需要您的回应。争议流程',
            ),
        417 =>
            array (
                0 => 'payment.new',
                1 => '新付款',
            ),
        418 =>
            array (
                0 => 'payment.in_review',
                1 => '付款审查中',
            ),
        419 =>
            array (
                0 => 'payment_dispute.accepted',
                1 => '付款争议已受理',
            ),
        420 =>
            array (
                0 => 'payment.ready_for_dispatch',
                1 => '准备就绪',
            ),
        421 =>
            array (
                0 => 'account.active',
                1 => '帐户活跃',
            ),
        422 =>
            array (
                0 => 'payment.dispatched',
                1 => '已付款',
            ),
        423 =>
            array (
                0 => 'payment_attempt.failed_to_process',
                1 => '付款尝试处理失败',
            ),
        424 =>
            array (
                0 => 'refund.received',
                1 => '退款已收到',
            ),
        425 =>
            array (
                0 => 'refund.accepted',
                1 => '退款已接受',
            ),
        426 =>
            array (
                0 => 'refund.succeeded',
                1 => '退款已成功',
            ),


    ];

}
